Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 3 - Standard Image-Compression Dialog Components / Standard Image-Compression Dialog Components Reference
Standard Image-Compression Dialog Component Functions / Compressing Still Images


SCCompressPicture

The SCCompressPicture function compresses a picture that is stored in a handle.

pascal ComponentResult SCCompressPicture (ComponentInstance ci,
                                           PicHandle srcPicture,
                                           PicHandle dstPicture);
ci
Identifies your application's connection to a standard image-compression dialog component.
srcPicture
Contains a handle to the picture to be compressed.
dstPicture
Contains a handle to the compressed picture. The standard dialog component resizes this handle to accommodate the compressed picture. Your application is responsible for creating and disposing of this handle when you are done with it.
RESULT CODES
scUserCancelled1Dialog box canceled--user clicked Cancel
Image Compression Manager errors (from FCompressPicture function)


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help